package view.notes;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;

import view.guitare.GuitarePanel;

public class NoteDecompositionJFrame extends JFrame {

	public static final Dimension DIMENSION = new Dimension(1000, 500);
	
	public NoteDecompositionJFrame() {
		super();
		initComponent();
	}

	private void initComponent() {
		JTabbedPane tabbedPane = new JTabbedPane();
		
		JPanel panel = new GroupLayoutNoteDecompositionJPanel();
		tabbedPane.addTab("Note Decomposition", panel);
		JPanel panel2 = new GroupLayoutNoteGammeJPanel();
		tabbedPane.addTab("Gammes", panel2);
		JPanel panel3 = new GuitarePanel();
		add(tabbedPane);
		tabbedPane.addTab("Guitare", panel3);
		
		setPreferredSize(DIMENSION);
		pack();
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	}
}
